package com.hospital.common.core.module.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lvyao
 * @since 2023-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("PAT_VISIT")
public class PatVisit implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("PATIENT_ID")
    private String patientId;

    @TableField("VISIT_ID")
    private Integer visitId;

    @TableField("DEPT_ADMISSION_TO")
    private String deptAdmissionTo;

    @TableField("ADMISSION_DATE_TIME")
    private Date admissionDateTime;

    @TableField("DEPT_DISCHARGE_FROM")
    private String deptDischargeFrom;

    @TableField("DISCHARGE_DATE_TIME")
    private Date dischargeDateTime;

    @TableField("OCCUPATION")
    private String occupation;

    @TableField("MARITAL_STATUS")
    private String maritalStatus;

    @TableField("IDENTITY")
    private String identity;

    @TableField("ARMED_SERVICES")
    private String armedServices;

    @TableField("DUTY")
    private String duty;

    @TableField("TOP_UNIT")
    private String topUnit;

    @TableField("SERVICE_SYSTEM_INDICATOR")
    private Integer serviceSystemIndicator;

    @TableField("UNIT_IN_CONTRACT")
    private String unitInContract;

    @TableField("CHARGE_TYPE")
    private String chargeType;

    @TableField("WORKING_STATUS")
    private Integer workingStatus;

    @TableField("INSURANCE_TYPE")
    private String insuranceType;

    @TableField("INSURANCE_NO")
    private String insuranceNo;

    @TableField("SERVICE_AGENCY")
    private String serviceAgency;

    @TableField("MAILING_ADDRESS")
    private String mailingAddress;

    @TableField("ZIP_CODE")
    private String zipCode;

    @TableField("NEXT_OF_KIN")
    private String nextOfKin;

    @TableField("RELATIONSHIP")
    private String relationship;

    @TableField("NEXT_OF_KIN_ADDR")
    private String nextOfKinAddr;

    @TableField("NEXT_OF_KIN_ZIPCODE")
    private String nextOfKinZipcode;

    @TableField("NEXT_OF_KIN_PHONE")
    private String nextOfKinPhone;

    @TableField("PATIENT_CLASS")
    private String patientClass;

    @TableField("ADMISSION_CAUSE")
    private String admissionCause;

    @TableField("CONSULTING_DATE")
    private Date consultingDate;

    @TableField("PAT_ADM_CONDITION")
    private String patAdmCondition;

    @TableField("CONSULTING_DOCTOR")
    private String consultingDoctor;

    @TableField("ADMITTED_BY")
    private String admittedBy;

    @TableField("EMER_TREAT_TIMES")
    private Integer emerTreatTimes;

    @TableField("ESC_EMER_TIMES")
    private Integer escEmerTimes;

    @TableField("SERIOUS_COND_DAYS")
    private Integer seriousCondDays;

    @TableField("CRITICAL_COND_DAYS")
    private Integer criticalCondDays;

    @TableField("ICU_DAYS")
    private Integer icuDays;

    @TableField("CCU_DAYS")
    private Integer ccuDays;

    @TableField("SPEC_LEVEL_NURS_DAYS")
    private Integer specLevelNursDays;

    @TableField("FIRST_LEVEL_NURS_DAYS")
    private Integer firstLevelNursDays;

    @TableField("SECOND_LEVEL_NURS_DAYS")
    private Integer secondLevelNursDays;

    @TableField("AUTOPSY_INDICATOR")
    private Integer autopsyIndicator;

    @TableField("BLOOD_TYPE")
    private String bloodType;

    @TableField("BLOOD_TYPE_RH")
    private String bloodTypeRh;

    @TableField("INFUSION_REACT_TIMES")
    private Integer infusionReactTimes;

    @TableField("BLOOD_TRAN_TIMES")
    private Integer bloodTranTimes;

    @TableField("BLOOD_TRAN_VOL")
    private Integer bloodTranVol;

    @TableField("BLOOD_TRAN_REACT_TIMES")
    private Integer bloodTranReactTimes;

    @TableField("DECUBITAL_ULCER_TIMES")
    private Integer decubitalUlcerTimes;

    @TableField("ALERGY_DRUGS")
    private String alergyDrugs;

    @TableField("ADVERSE_REACTION_DRUGS")
    private String adverseReactionDrugs;

    @TableField("MR_VALUE")
    private String mrValue;

    @TableField("MR_QUALITY")
    private String mrQuality;

    @TableField("FOLLOW_INDICATOR")
    private Integer followIndicator;

    @TableField("FOLLOW_INTERVAL")
    private Integer followInterval;

    @TableField("FOLLOW_INTERVAL_UNITS")
    private String followIntervalUnits;

    @TableField("DIRECTOR")
    private String director;

    @TableField("ATTENDING_DOCTOR")
    private String attendingDoctor;

    @TableField("DOCTOR_IN_CHARGE")
    private String doctorInCharge;

    @TableField("DISCHARGE_DISPOSITION")
    private String dischargeDisposition;

    @TableField("TOTAL_COSTS")
    private BigDecimal totalCosts;

    @TableField("TOTAL_PAYMENTS")
    private BigDecimal totalPayments;

    @TableField("CATALOG_DATE")
    private Date catalogDate;

    @TableField("CATALOGER")
    private String cataloger;

    @TableField("INTERNAL_NO")
    private String internalNo;

    @TableField("IDENTITY_CLASS")
    private String identityClass;

    @TableField("CARDNO")
    private String cardno;

    @TableField("ZYLSH")
    private String zylsh;

    @TableField("ID_NO")
    private String idNo;

    @TableField("HEALTH_LEVEL")
    private String healthLevel;

    @TableField("MR_INFECT_REPORT")
    private String mrInfectReport;

    @TableField("INFECT_INDICATOR")
    private Integer infectIndicator;

    @TableField("BODY_WEIGHT")
    private BigDecimal bodyWeight;

    @TableField("BODY_HEIGHT")
    private BigDecimal bodyHeight;

    @TableField("NURSE_MR_COMMIT")
    private Integer nurseMrCommit;

    @TableField("NURSE_MR_COMMIT_TIME")
    private Date nurseMrCommitTime;

    @TableField("ABNORMAL")
    private String abnormal;

    @TableField("SPECIAL_VALUE_INDICATOR")
    private Integer specialValueIndicator;

    @TableField("MR_DESC")
    private String mrDesc;

    @TableField("HEIGHT")
    private Integer height;

    @TableField("WEIGHT")
    private Integer weight;

    @TableField("PATIENT_CONDITION")
    private String patientCondition;

    @TableField("CARD_NO")
    private String cardNo;

    @TableField("TRAINING_INJURY_INDICATOR")
    private Integer trainingInjuryIndicator;

    @TableField("MEDICAL_PAY_WAY")
    private String medicalPayWay;

    @TableField("HBSAG_INDICATOR")
    private Integer hbsagIndicator;

    @TableField("HCV_AB_INDICATOR")
    private Integer hcvAbIndicator;

    @TableField("HIV_AB_INDICATOR")
    private Integer hivAbIndicator;

    @TableField("CHIEF_DOCTOR")
    private String chiefDoctor;

    @TableField("ADVANCED_STUDIES_DOCTOR")
    private String advancedStudiesDoctor;

    @TableField("PRACTICE_DOCTOR_OF_GRADUATE")
    private String practiceDoctorOfGraduate;

    @TableField("PRACTICE_DOCTOR")
    private String practiceDoctor;

    @TableField("DOCTOR_OF_CONTROL_QUALITY")
    private String doctorOfControlQuality;

    @TableField("NURSE_OF_CONTROL_QUALITY")
    private String nurseOfControlQuality;

    @TableField("DATE_OF_CONTROL_QUALITY")
    private Date dateOfControlQuality;

    @TableField("FIRST_CASE_INDICATOR")
    private Integer firstCaseIndicator;

    @TableField("THIRD_LEVEL_NURS_DAYS")
    private Integer thirdLevelNursDays;

    @TableField("X_EXAM_NO")
    private String xExamNo;

    @TableField("SETTLE_STATUS")
    private Integer settleStatus;

    @TableField("NURSE_IN_CHARGE")
    private String nurseInCharge;

    @TableField("NEONATE_WEIGHT")
    private String neonateWeight;

    @TableField("NEONATE_WEIGHT_IN")
    private String neonateWeightIn;

    @TableField("PLAN_OF_NEXT")
    private String planOfNext;

    @TableField("TIME_OF_HEAD")
    private String timeOfHead;

    @TableField("BED_NO")
    private Integer bedNo;

    @TableField("SETTLED_INDICATOR")
    private Integer settledIndicator;

    @TableField("PIS_NO")
    private String pisNo;

    @TableField("INSURANCE_SUB_TYPE_NAME")
    private String insuranceSubTypeName;

    @TableField("SETTLE_FLAG")
    private String settleFlag;

    @TableField("UNIT_TYPE")
    private String unitType;

    @TableField("CERTIFICATE_CODE")
    private String certificateCode;

    @TableField("INJURY_FLAG")
    private String injuryFlag;

    @TableField(exist = false)
    private String inpNo;

}
